package com.geek.bams.entity;

import com.geek.bams.exception.LoanException;

public interface Loanable {

    /**
     * 贷款
     * @param money  贷款金额
     * @return
     */
    public Account requestLoan(double  money) throws LoanException;


    /**
     * 还贷
     * @param money  贷款金额
     * @return
     */
    public Account payLoan(double  money) throws LoanException;

}
